package com.greatpengcode.dao;

import com.greatpengcode.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeDao {
    List<Employee> getAllEmployee();
    Employee getEmployeeById(Integer id);
    int addEmployee(Employee employee);
    int updateEmployee(Employee employee);
    int deleteEmployee(Integer id);
}
